package com.jiazhong.Abstract.Test;

public class Manage extends Employee{
    private int bonus;
    public Manage(String name, String id, int salary,int bonus) {
        super(name, id, salary);
        this.bonus=bonus;
    }

    @Override
    public String work() {
        return "经理 name"+getName()+" id"+getId()+" salary"+getSalary()+" bonus:"+bonus+"正在工作";
    }
}
